<?php

/**
 * 
 * @author Youssef Driouach
 *
 */
class Application_Model_Book extends Application_Model_Object
{
	protected $_bookId;
	protected $_author;
	protected $_category;
	
	
	public function getAttribs()
	{
		$attribs = array(
				'name'				=> $this->getName(),
				'description'		=> $this->getDescription(),
				'url'				=> $this->getUrl(),
				'images'			=> $this->getImages(),
				'author'			=> $this->getAuthor(),
				'category'			=> $this->getCategory(),
		);
		return $attribs;
	}
	
	/**
	 * @return the $_category
	 */
	public function getCategory() {
		return $this->_category;
	}


	/**
	 * @return the $_bookId
	 */
	public function getBookId() {
		return $this->_bookId;
	}

	/**
	 * @return the $_author
	 */
	public function getAuthor() {
		return $this->_author;
	}

	/**
	 * @param field_type $_bookId
	 */
	public function setBookId($_bookId) {
		$this->_bookId = $_bookId;
	}

	/**
	 * @param field_type $_author
	 */
	public function setAuthor($_author) {
		$this->_author = $_author;
	}

	/**
	 * @param field_type $_category
	 */
	public function setCategory($_category) {
		$this->_category = $_category;
	}

	
	
}